home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: Newbie doesn't understand compiler error
- Date: 08 Mar 1996 17:00:49 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Mar8100049@qcd.lanl.gov>
- References: <Pine.SUN.3.91.960301153010.11258B-100000@pioneer.uspto.gov>
- <4hoffl$l74@aphex.direct.ca>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: etoivane@direct.ca's message of 8 Mar 1996 05:10:13 GMT
-
- In article <4hoffl$l74@aphex.direct.ca>
- etoivane@direct.ca (Ed Toivanen) writes:
-
- ET:
- ET: >
- ET: >main( int argv, char *argc[] ) <<- Compiler states "Syntax error
- at or near
- ET:
- ET: Try
- ET: main(int argc, char* argv[])
- ET:
- ET: That should fixn things up.
-
- How? What is wrong with the original poster's code?
-
- (I think the original poster was using non-ANSI compiler).
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-